<!--
 * @Description: 
 * @Author: rendc
 * @Date: 2022-08-31 14:18:19
 * @LastEditors: rendc
 * @LastEditTime: 2022-08-31 14:26:57
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>合并单元格</title>
  <style>
    table {
      /* 边框合并 */
      border-collapse: collapse;
    }
  </style>
</head>

<body>
  <table border="1">
    <tr>
      <td>11</td>
      <td>12</td>
      <td>13</td>
      <td>14</td>
      <td>15</td>
      <td>16</td>
    </tr>
    <tr>
      <td>21</td>
      <td colspan="2">22</td>
      <!-- <td>23</td> -->
      <td colspan="3">24</td>
      <!-- <td>25</td> -->
      <!-- <td>26</td> -->
    </tr>
    <tr>
      <td>31</td>
      <td rowspan="3">32</td>
      <td>33</td>
      <td>34</td>
      <td>35</td>
      <td>36</td>
    </tr>
    <tr>
      <td>41</td>
      <!-- <td>42</td> -->
      <td>43</td>
      <td>44</td>
      <td>45</td>
      <td>46</td>
    </tr>
    <tr>
      <td>51</td>
      <!-- <td>52</td> -->
      <td>53</td>
      <td>54</td>
      <td>55</td>
      <td>56</td>
    </tr>
  </table>
</body>

</html>